<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
      <link rel="stylesheet" href="./../../helpwin.css">
      <title>MATLAB File Help: prtFeatSelStatic/prtFeatSelStatic</title>
   </head>
   <body>
      <!--Single-page help-->
      <table border="0" cellspacing="0" width="100%">
         <tr class="subheader">
            <td class="headertitle">MATLAB File Help: prtFeatSelStatic/prtFeatSelStatic</td>
            
            
         </tr>
      </table>
      <div class="title">prtFeatSelStatic/prtFeatSelStatic</div>
      <div class="helptext"><pre><!--helptext -->  <span class="helptopic">prtFeatSelStatic</span>  Static feature selection object.
 
   FEATSEL = <span class="helptopic">prtFeatSelStatic</span> creates a static feature selection
   object. 
   
   FEATSEL = <span class="helptopic">prtFeatSelStatic</span>('selectedFeatures', FEATURES) creates a
   static feature selection object with the selectedFeatures parameter
   set to FEATURES.
  
   A static feature selction object selects the features specified by
   the selectedFeatures parameter.
 
    Example:
    
    dataSet = prtDataGenIris;            % Load a data set with 4 features
    StaticFeatSel = <span class="helptopic">prtFeatSelStatic</span>; % Create a static feature
                                      % selection object.
    StaticFeatSel.selectedFeatures = [1 3];   % Choose the first and
                                              % third feature
    % Training is not necessary for a static feature selection object,
    % the following command has no effect.
    StaticFeatSel = StaticFeatSel.train(dataSet);  
    
    dataSetReduced = StaticFeatSel.run(dataSet);   %Run the feature
                                                   %selection
    explore(dataSetReduced);</pre></div><!--after help -->
   </body>
</html>